﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using eLuk.Entity;
using eLuk.CommandEngine;

namespace eLuk.Runtime
{
	public delegate void IMAPObjectUpdated( object sender, IMAPObjectUpdatedEventArgs e );
	public class IMAPObjectUpdatedEventArgs : EventArgs
	{
		public eLukObject IMAPObject { get; set; }
		public OperationOption OperationOption { get; set; }
		public string Message { get; set; }
	}

	public enum OperationOption
	{ 
		WriteToDisk,
		CompareFolders,
		CompareMessage,
		StatusUpdate,
		AuthenticationFailed,
		Ready
	}

}
